package com.mairuide.bill.information;

import com.mairuide._frame.base.BaseRepository;

import java.util.List;

/**
 * person information Repository
 * @author mh
 *
 */
public interface PersonInformationRepository extends BaseRepository<PersonInformation>{
	
	/**
	 *根据身份证查询人员信息 
	 */
	public List<PersonInformation> findByIdNumber(String idNumber);
	
	/**
	 * 根据姓名查询人员信息
	 * @param personName
	 * @return
	 */
	public PersonInformation findByPersonName(String personName);
	
	public PersonInformation findByPersonNameAndIdNumber(String personName,String idNumber);
	public void deleteByPersonName(String personName);
	
	public void deleteByCasemanagerId(String casemanagerId);
}
